package com.ruoyi.combat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课题方法记录对象 method_use_log
 * 
 * @author ruoyi
 * @date 2025-01-09
 */
@ApiModel("课题方法记录")
public class MethodUseLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 方法调用记录id */
    @ApiModelProperty("方法调用记录id")
    private Long id;

    /** 方法id */
    @ApiModelProperty("方法id")
    @Excel(name = "方法id")
    private Long methodId;

    /** 方法名称 */
    @ApiModelProperty("方法名称")
    @Excel(name = "方法名称")
    private String methodName;

    /** 使用方法的类名 */
    @ApiModelProperty("使用方法的类名")
    @Excel(name = "使用方法的类名")
    private String usertable;

    /** 使用类的id */
    @ApiModelProperty("使用类的id")
    @Excel(name = "使用类的id")
    private Long usertableid;

    /** 方法使用者id */
    @ApiModelProperty("方法使用者id")
    @Excel(name = "方法使用者id")
    private Long userId;

    /** 方法传参 */
    @ApiModelProperty("方法传参")
    @Excel(name = "方法传参")
    private String methodParam;

    /** 返回结果 */
    @ApiModelProperty("返回结果")
    @Excel(name = "返回结果")
    private String methodResult;

    /** 执行结果 */
    @ApiModelProperty("执行结果")
    @Excel(name = "执行结果")
    private String issuccess;

    /** 返回结果时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("返回结果时间")
    @Excel(name = "返回结果时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date returntime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMethodId(Long methodId) 
    {
        this.methodId = methodId;
    }

    public Long getMethodId() 
    {
        return methodId;
    }
    public void setMethodName(String methodName) 
    {
        this.methodName = methodName;
    }

    public String getMethodName() 
    {
        return methodName;
    }
    public void setUsertable(String usertable) 
    {
        this.usertable = usertable;
    }

    public String getUsertable() 
    {
        return usertable;
    }
    public void setUsertableid(Long usertableid) 
    {
        this.usertableid = usertableid;
    }

    public Long getUsertableid() 
    {
        return usertableid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMethodParam(String methodParam) 
    {
        this.methodParam = methodParam;
    }

    public String getMethodParam() 
    {
        return methodParam;
    }
    public void setMethodResult(String methodResult) 
    {
        this.methodResult = methodResult;
    }

    public String getMethodResult() 
    {
        return methodResult;
    }
    public void setIssuccess(String issuccess) 
    {
        this.issuccess = issuccess;
    }

    public String getIssuccess() 
    {
        return issuccess;
    }
    public void setReturntime(Date returntime) 
    {
        this.returntime = returntime;
    }

    public Date getReturntime() 
    {
        return returntime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("methodId", getMethodId())
            .append("methodName", getMethodName())
            .append("usertable", getUsertable())
            .append("usertableid", getUsertableid())
            .append("userId", getUserId())
            .append("methodParam", getMethodParam())
            .append("methodResult", getMethodResult())
            .append("issuccess", getIssuccess())
            .append("returntime", getReturntime())
            .toString();
    }
}
